package mtest.structure;

import java.util.Scanner;

public class Demo2 {
    public static void main(String[] args) {
        // if双选择结构
        // 考试成绩60 及格
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入成绩");
        int score = scanner.nextInt();
        if (score > 60) {
            System.out.println("及格");
        } else {
            System.out.println("不及格");
        }
        System.out.println("End");

        scanner.close();


    }
}
